package com.aiti.lulian.flow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * description:
 * auth fcb
 * date 2025-09-04 09:36
 **/
@ApiModel(value = "流程定义表",description = "")
@TableName("card_flow_definition")
@Data
public class CardFlowDefinition {

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "base_id",type = IdType.INPUT)
    private String baseId ;

    /** 流程标识，用于发起流程 */
    @ApiModelProperty(name = "流程标识，用于发起流程",notes = "")
    @TableField(value = "flow_key")
    private String flowKey ;

    /** 流程名称 */
    @ApiModelProperty(name = "流程名称",notes = "")
    @TableField(value = "flow_name")
    private String flowName ;

    /** 创建人 */
    @ApiModelProperty(name = "创建人",notes = "")
    @TableField(value = "base_create_by")
    private String baseCreateBy ;

    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    @TableField(value = "base_create_time")
    private Date baseCreateTime ;

    /** 更新人 */
    @ApiModelProperty(name = "更新人",notes = "")
    @TableField(value = "base_update_by")
    private String baseUpdateBy ;

    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    @TableField(value = "base_update_time")
    private Date baseUpdateTime ;

    /** 删除标识。0：未删除，1：已删除 */
    @ApiModelProperty(name = "删除标识。0：未删除，1：已删除",notes = "")
    @TableField(value = "is_delete")
    private Integer isDelete ;
}
